#ifndef __MYBLE_H
#define __MYBLE_H

#include <string>
#include <BLEDevice.h>
#include <BLEUtils.h>
#include <BLEServer.h>
#include <BLEService.h>
#include <BLECharacteristic.h>
#include "BLE2902.h"
#include "Arduino.h"

typedef void (*myFun) (std::string &s);

class MyBLE{

public:
  void initBLE(const std::string &BLEName, const std::string &serviceUUID, const std::string &charUUID, myFun callback);
  void sendBackData(std::string &s);

};
#endif